package sindconsole.misc.service;

import org.springframework.data.domain.Page;
import sindconsole.misc.bean.OperationTrace;

import javax.annotation.Nullable;
import java.util.Date;

public interface OperationService {

    int createTrace(OperationTrace trace);
    Page<OperationTrace> listTraces(@Nullable String operation, @Nullable Long userId, @Nullable Date loggedTime0, @Nullable Date loggedTime1, @Nullable String loggedAddr, int... pagination);

}
